/* 
 *  This file is part of hmvcBlog-blog.
 *
 *  hmvcBlog-blog is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU Affero General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  hmvcBlog-blog is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Affero General Public License for more details.
 *
 *  You should have received a copy of the GNU Affero General Public License
 *  along with hmvcBlog-blog.  If not, see <http://www.gnu.org/licenses/>.
 *
 */
package com.googlecode.hmvc4gwt.example.hmvcblog.frontend.authentification.client.login;

import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.Grid;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.PasswordTextBox;
import com.google.gwt.user.client.ui.TextBox;
import com.google.gwt.user.client.ui.Widget;
import com.googlecode.hmvc4gwt.client.view.AViewGwt;

/**
 * 
 *
 * @author jens.meiss
 */
public class LoginView extends AViewGwt {
	
	private Grid gridContainer;
	
	private Label labelDescription;
	
	private Label labelLogin;
	
	private Label labelPassword;

	private Button buttonLogin;

	private TextBox textBoxLogin;

	private PasswordTextBox passwordTextBox;
	
	private Button buttonRegister;
	
	private Grid gridLoginBox;
	
	public Button getButtonLogin() {
		return buttonLogin;
	}
	
	public Button getButtonRegister() {
		return buttonRegister;
	}
	
	public Grid getGridContainer() {
		return gridContainer;
	}
	
	public Grid getGridLoginBox() {
		return gridLoginBox;
	}

	public Label getLabelDescription() {
		return labelDescription;
	}

	public Label getLabelLogin() {
		return labelLogin;
	}

	public Label getLabelPassword() {
		return labelPassword;
	}

	public PasswordTextBox getPasswordTextBox() {
		return passwordTextBox;
	}

	public TextBox getTextBoxLogin() {
		return textBoxLogin;
	}

	public Widget getWidget() {
		return getGridContainer();
	}

	public void setButtonLogin(Button buttonLogin) {
		this.buttonLogin = buttonLogin;
	}

	public void setButtonRegister(Button buttonRegister) {
		this.buttonRegister = buttonRegister;
	}

	public void setGridContainer(Grid gridContainer) {
		this.gridContainer = gridContainer;
	}

	public void setGridLoginBox(Grid gridLoginBox) {
		this.gridLoginBox = gridLoginBox;
	}

	public void setLabelDescription(Label labelDescription) {
		this.labelDescription = labelDescription;
	}

	public void setLabelLogin(Label labelLogin) {
		this.labelLogin = labelLogin;
	}

	public void setLabelPassword(Label labelPassword) {
		this.labelPassword = labelPassword;
	}

	public void setPasswordTextBox(PasswordTextBox passwordTextBox) {
		this.passwordTextBox = passwordTextBox;
	}

	public void setTextBoxLogin(TextBox textBoxLogin) {
		this.textBoxLogin = textBoxLogin;
	}

}
